package com.xbongbong.pro.link.business.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.link.business.pojo.LinkBusinessListPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/10/31 11:13
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class LinkBusinessUpdateDTO extends BaseDTO {
    private static final long serialVersionUID = -841754827093796875L;

    @NotEmpty(message = "{dto.msg.linkBusinessUpdate.linkBusinessList.NotEmpty}")
    @Valid
    private List<LinkBusinessListPojo> linkBusinessList;
}
